STEP 9: Let's defeat the dragon! Create a cool battle with as many actions as you like!

  • Go to . Use .move() and .turn() commands to create your battle.
  • Try having the knight move to the dragon to attack and have the dragon fall off the bridge.
  • Get creative and add some jumps and turns to make the battle more complex.
  • After the battle, use Say to have the knight declare "The path is clear!"

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)